package com.holystone.orca.sys.common;


public class SystemConstant {
	public static final String SESSION_STAFF_KEY					="session_staff_key";//SESSION KEY
	//公共错误码表
	public static final int LOGIN_SESSION_TIME_OUT				=100000;//登陆超时，请重新登陆！
	public static final int LOGIN_NAME_ERROR					=100001;//用户名不存在，请确认用户名是否正确！
	public static final int LOGIN_PASSWORD_ERROR				=100002;//用户密码错误，请确认密码是否正确！
	public static final int LOGIN_PERSON_BAN					=100003;//用户被锁定,请联系管理员！
	public static final int LOGIN_PERSON_NO_PRI					=100004;//用户未分配权限，请联系管理员！
	public static final int LOGIN_PERSON_CONFIG_ERROR			=100005;//用户配置错误，请联系管理员！
	
	//系统管理 错误码表
	public static final int SYSTEM_DEL_PRIVILEGE_ERROR			=200000;//权限已被使用，无法删除！
	public static final int SYSTEM_DEL_COMPANY_ERROR			=200002;//公司已被使用，无法删除！
	public static final int SYSTEM_DEL_DEPARTMENT_ERROR			=200003;//部门已被使用，无法删除！
	public static final int SYSTEM_DEL_ROLE_ERROR				=200005;//角色已被使用，无法删除！
	public static final int SYSTEM_DEL_STAFF_ERROR				=200006;//员工已被使用，无法删除！
	public static final int SYSTEM_DEL_LOOKUP_TYPE_ERROR		=200007;//一级参数已被使用，无法删除！
	
	public static final int SYSTEM_LOGIN_ERROR					=200008;//用户名或密码错误，无法登录！
	public static final int SYSTEM_NOT_LOGIN_ERROR				=200009;//该用户已被禁止登陆！
	
	public static final int SYSTEM_SAVE_SUCCESS					=200011;//保存成功！
	public static final int SYSTEM_UPDATE_SUCCESS				=200012;//更新成功！
	public static final int SYSTEM_DELETE_SUCCESS				=200013;//删除成功！
	
	public static final int SYSTEM_SAVE_ERROR					=200019;//保存失败！
	public static final int SYSTEM_UPDATE_ERROR					=200020;//更新失败！
	public static final int SYSTEM_DELETE_ERROR					=200021;//删除失败！
	
	public static final int SYSTEM_DEL_PERSON_ERROR				=200016;//人员已经被分配，无法删除！
	public static final int SYSTEM_LOGIN_NO_PRI					=200017;//您未分配权限，无法登录
	
	public static final int EXCEL_PERSON_UPLOAD_ERROR 			=200058;//文件上传失败！
	public static final int EXCEL_PERSON_SUCCESS 				=200059;//配置员工ORCA权限成功！
	public static final int EXCEL_PERSON_ERROR 					=200060;//导入员工ORCA权限失败，请检查EXCEL文件内容是否符合规范！
	
	public static final int CHANGE_PERSON_SUCCESS 				=200061;//调换人员成功！
	public static final int RESET_STAFF_STATE_SUCCESS 			=200062;//重置默认身份成功！
	public static final int RESET_PASSWORD_ERROR 				=200063;//您的原密码错误，请重新修改！
	
	/**
	 * 缓存一级码表
	 */
	public static final String CACHE_LOOKUP_TYPE_KEY="cacheLookupTypeKey";
	/**
	 * 缓存二级码表
	 */
	public static final String CACHE_LOOKUP_CDE_KEY="cacheLookupCdeKey";
	/**
	 * 缓存常用参数
	 */
	public static final String CACHE_PARAMETER_KEY="cacheParameterKey";
	/**
	 * 缓存公司
	 */
	public static final String CACHE_COMPANY_KEY="cacheCompanyKey";
	/**
	 * 缓存部门
	 */
	public static final String CACHE_DEPARTMENT_KEY="cacheDepartmentKey";
	/**
	 * 缓存员工
	 */
	public static final String CACHE_STAFF_KEY="cacheStaffKey";
	/**
	 * 缓存人员
	 */
	public static final String CACHE_PERSON_KEY="cachePersonKey";
	/**
	 * 缓存权限
	 */
	public static final String CACHE_PRIVILEGE_KEY="cachePrivilegeKey";
	/**
	 * 缓存登录人
	 */
	public static final String CACHE_ONLINE_STAFF="cacheOnlineStaff";
	/**
	 * 缓存webservice配置
	 */
	public static final String CACHE_WEBSERVICE_KEY="cacheWebserviceKey";

	/**
	 * 公司名称
	 */
	public static final String HS_NAME="合力思腾";
	/**
	 * 表示已删除 
	 */
	public static final Short DEL_FLAG_1	=	1;
	/**
	 * 表示未删除
	 */
	public static final Short DEL_FLAG_0	=	0;
	
	/**
	 *编码字符顺序
	 */
	public static final String	CODE_CHARS="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z";
	/**
	 *权限 根节点ID 
	 */
	public static final String PRI_ROOT_ID="1";
	/**
	 *权限 首页ID
	 */
	public static final String PRI_INDEX_ID="ORCAINDEX";
	/**
	 *公司 根节点ID 
	 */
	public static final String CMP_ROOT_ID="1";
	/**
	 *部门 根节点ID 
	 */
	public static final String DEP_ROOT_ID="1";
	/**
	 *公司 虚拟根节点ID 
	 */
	public static final String REGION_ROOT_ID="ORGROOT";
	/**
	 *组织机构类型 虚拟根
	 * */
	public static final String  ORG_TYPE_ROOT="ROOT";
	/**
	 *组织机构类型 公司
	 * */
	public static final String  ORG_TYPE_CMP="CMP";
	/**
	 *组织机构类型 部门
	 * */
	public static final String  ORG_TYPE_DEP="DEP";
	/**
	 *组织机构类型 员工
	 * */
	public static final String  ORG_TYPE_STAFF="STAFF";
	
	//以下为上线初始化数据，待定-------------------------------------------------------------
	/**
	 * 公司状态域
	 */
	public static final String CMP_STATE="9a"; 
	/**
	 * 公司状态域 A 启用
	 */
	public static final String CMP_STATE_A="9aa"; 
	/**
	 * 公司状态域 B 关闭
	 */
	public static final String CMP_STATE_B="9ab";
	/**
	 * 部门状态域
	 */
	public static final String DEP_STATE="9b";
	/**
	 * 部门状态域 A 启用
	 */
	public static final String DEP_STATE_A="9ba";
	/**
	 * 部门状态域 B 关闭
	 */
	public static final String DEP_STATE_B="9bb";
	/**
	 * 员工类型域
	 */
	public static final String STAFF_TYPE="9c";
	/**
	 * 员工类型域 A 普通员工
	 */
	public static final String STAFF_TYPE_A="9ca";
	/**
	 * 员工状态域
	 */
	public static final String STAFF_STATE="9d";
	/**
	 * 员工状态域 A 启用
	 */
	public static final String STAFF_STATE_A="9da";
	/**
	 * 员工状态域 B 关闭
	 */
	public static final String STAFF_STATE_B="9db";
	/**
	 * 人员状态域
	 */
	public static final String PERSON_STATE="9e";
	/**
	 * 人员状态域 A 启用
	 */
	public static final String PERSON_STATE_A="9ea";
	/**
	 * 人员状态域 B 关闭
	 */
	public static final String PERSON_STATE_B="9eb";
	
	/**
	 * 权限类型域
	 */
	public static final String PRI_TYPE="9f";
	/**
	 * 权限类型域 A 根节点
	 */
	public static final String PRI_TYPE_A="9fa";
	/**
	 * 权限类型域 B 一级菜单
	 */
	public static final String PRI_TYPE_B="9fb";
	/**
	 * 权限类型域 C 目录菜单
	 */
	public static final String PRI_TYPE_C="9fc";
	/**
	 * 权限类型域 D 功能菜单
	 */
	public static final String PRI_TYPE_D="9fd";
	/**
	 * 权限类型域 E 操作元素
	 */
	public static final String PRI_TYPE_E="9fe";
	/**
	 * 权限类型域 F 新增操作
	 */
	public static final String PRI_TYPE_F="9ff";
	/**
	 * 权限类型域 G 修改操作
	 */
	public static final String PRI_TYPE_G="9fg";
	/**
	 * 权限类型域 H 删除操作
	 */
	public static final String PRI_TYPE_H="9fh";
	/**
	 * 权限类型域 I 导出EXCEL操作
	 */
	public static final String PRI_TYPE_I="9fi";
	/**
	 * 权限类型域 J 导入EXCEL操作
	 */
	public static final String PRI_TYPE_J="9fj";
	/**
	 * 权限状态域
	 */
	public static final String PRI_STATE="9g";
	/**
	 * 权限状态域 A 启用
	 */
	public static final String PRI_STATE_A="9ga";
	/**
	 * 权限状态域 B 关闭
	 */
	public static final String PRI_STATE_B="9gb";
	/**
	 * 员工角色类型域
	 */
	public static final String STAFF_ROLE_TYPE="9h";
	/**
	 * 员工角色状态域
	 */
	public static final String STAFF_ROLE_STATE="9i";
	/**
	 * 员工角色状态域 A 启用
	 */
	public static final String STAFF_ROLE_STATE_A="9ia";
	/**
	 * 员工角色状态域 B 关闭
	 */
	public static final String STAFF_ROLE_STATE_B="9ib";

	//码表   公共属性
	public static final String PROPERTY_ROLE_PUBLIC ="1ba";
	//码表   私有属性
	public static final String PROPERTY_ROLE_PRIVITE ="1bb";
	//码表   系统属性
	public static final String PROPERTY_ROLE_SYSTEM ="1bc";
	//码表   采集属性
	public static final String PROPERTY_ROLE_CAIJI ="1bd";
	//码表   凭证属性
	public static final String PROPERTY_ROLE_EVIDENCE ="1be";
	//平台信息
	public static final String EVIDENCE_PLATFORM="EVIDENCE_PLATFORM";
	//默认页码
	public static final int default_pageNum = 1;
	//显示几条
	public static final int default_pageSize =15 ;

    /**
     * 判断null 值
     * @param obj
     * @return
     */
    public static boolean isNull(String... obj){
        for(String str : obj){
            if(str == null || str.length() <= 0){
                return true;
            }
        }
        return false;
    }
	//码表 类型域 业务系统
	public static String CDE_TYPE_SYSTEM="15a";
	//码表 类型域 服务器
	public static String CDE_TYPE_SERVER="15d";
	//码表 类型域 中间件
	public static String CDE_TYPE_MIDDLE="15c";
	//码表 类型域 数据库
	public static String CDE_TYPE_DATABASE="15b";
	//网络设备
	public static String CDE_TYPE_NETWORK_EQUIPMENT= "15e";
	//其他
	public static String CDE_TYPE_CLASSES_OTHER= "15f";

	/**
	 * 删除标示
	 */
	public static int SYSTEM_DELETE_FLAG_YES=1;
	public static int SYSTEM_DELETE_FLAG_NO=0;

	/**
	 * 协议域 类型码
	 */
	public  static String PROTOCOL_TYPE="20";
	/**
	 * 核规性检查类型
	 */
	public  static String CHECK_TYPE="22";

	//容量
	public static String CMDB_INDICATOR_CAPAC="93d";
	//配置
	public static String CMDB_INDICATOR_CONFIG="93e";
	//性能
	public static String CMDB_INDICATOR_PERF="93f";
	//温度
	public static String CMDB_INDICATOR_TEMPERATURE="93g";
	//服务
	public static String CMDB_INDICATOR_SERVICE="93c";
	//进程
	public static String CMDB_INDICATOR_PROCESS="93a";
	//状态
	public static String CMDB_INDICATOR_STATE="93b";
	//DB
	public static String CMDB_INDICATOR_DB="93i";
	//--------------------变更历史---------------
	/**添加*/
	public static String CMDB_HISTORY_ACTION_TYPE_ADD="16a";
	/**修改*/
	public static String CMDB_HISTORY_ACTION_TYPE_EDIT="16b";
	/**删除*/
	public static String CMDB_HISTORY_ACTION_TYPE_DELETE="16c";

	public static String HHM_SERVICE_STATUS_BCODE="status_per_service_status";

	//-------------------Response Code-------------------
	/**
	 * 请求返回码
	 * 200 正常成功返回
	 * 201 正常成功返回但没有数据
	 * 202 资源不存在
	 * 500 错误返回  controller try catch 异常返回
	 */
	public  static  String RESPONSE_CODE_SUCCESS="200";

	public  static  String RESPONSE_CODE_SUCCESS_NULL_COMTENT="201";
	
	public  static  String RESPONSE_CODE_RESOURCE_NOT_EXISTS="202";

	public  static  String RESPONSE_CODE_FAILURE="500";

	//---------------风险等级--------------
	//0-50
	public  static  String CHECK_RESULT_DESC_VERY_DANGEROUS="非常危险";
	//50-70
	public  static  String CHECK_RESULT_DESC_DANGEROUS="危险";
	//70-90
	public  static  String CHECK_RESULT_DESC_NORMAL="正常";
	//90-100
	public  static  String CHECK_RESULT_DESC_HEGE="合格";

	//-----------------cmdb HomeServiceImpl  维保使用--------------
	public static final String  STATE_OUT = "出保";
	public static final String  STATE_IN_THREE = "近三月出保";
	public static final String  STATE_ERROR = "未知";
	public static final String  STATE_IN = "再保";

	//--------------------资源类型--------------------------------
	public static final String  RESOURCE_TYPE_DB = "db";
	public static final String  RESOURCE_TYPE_SERVER = "server";
	//-----------------流量监控-----------------------------------
	/**日峰均值*/
	public static final String RATE_DAY_AVGERAGE = "33a"; 
	/**周峰均值*/
	public static final String RATE_WEEK_AVGERAGE = "33b";
	/**月峰均值*/
	public static final String RATE_MONTH_AVGERAGE = "33c";
	/**95计费均值*/
	public static final String RATE_JIUWU_AVGERAGE = "33d";
	
	/**网络设备品牌*/
	public static final String NET_WORK_BRAND = "32";
	/**网络设备CI类型*/
	public static final String NET_WORK_CI_TYPE = "15e";
	
	public static final String RATE_Kb_UNIT = "Kbps";
	public static final String RATE_Mb_UNIT = "Mbps";
	public static final String RATE_Gb_UNIT = "Gbps";
	
	public static final String RATE_KB_UNIT = "KBps";
	public static final String RATE_MB_UNIT = "MBps";
	public static final String RATE_GB_UNIT = "GBps";
	
	/**
	 * 属性类型
	 */
	public static final String CMDB_PROPERTY_TYPE = "1a";
	/** 单行文本 */
	public static final String CMDB_PROPERTY_TYPE_TEXT = "1aa";
	/** 多行文本 */
	public static final String CMDB_PROPERTY_TYPE_LINES_TEXT = "1ab";
	/** 浮点型 */
	public static final String CMDB_PROPERTY_TYPE_FLOAT = "1ac";
	/** 整形 */
	public static final String CMDB_PROPERTY_TYPE_INT = "1ad";
	/** 日期 */
	public static final String CMDB_PROPERTY_TYPE_DATE = "1ae";
	/** 附件 */
	public static final String CMDB_PROPERTY_TYPE_FILE = "1af";
	/** 下拉框 */
	public static final String CMDB_PROPERTY_TYPE_SELECT = "1ag";
	/** 单选按钮 */
	public static final String CMDB_PROPERTY_TYPE_RADIO = "1ah";
	/** 复选框 */
	public static final String CMDB_PROPERTY_TYPE_CHECK = "1ai";
	/** 用户 */
	public static final String CMDB_PROPERTY_TYPE_USER = "1aj";
	/** 表格 */
	public static final String CMDB_PROPERTY_TYPE_TABLE = "1ak";
	/** 引用 */
	public static final String CMDB_PROPERTY_TYPE_RELATION = "1al";
	
	/**
	 * 资源状态
	 */
	public static final String CMDB_RESOURCE_STATUS = "1d";
	/** 可用*/
	public static final String CMDB_RESOURCE_STATUS_AVAILABLE = "1d1";
	/** 不可用*/
	public static final String CMDB_RESOURCE_STATUS_UNAVAILABLE = "1d2";
	public static final String CMDB_RELATION_MODEL_WULI =  "1fa";
	public static final String CMDB_RELATION_MODEL_LUOJI=  "1fb";

	//维保状态
	//出保
	public static final String MAIN_OUT = "1";
	//再保
	public static final String MAIN_IN = "2";
	//近一个月
	public static final String MAIN_ONE_MONTH = "3";
	//近三个月
	public static final String MAIN_THREE_MONTH = "4";

	/**
	 * 维保人员
	 */
	public static final String MAIN_PERSON = "cfg_arignal_ma_person";
	/**
	 * 维保原厂商
	 */
	public static final String MAIN_FACTORT = "cfg_ass_manufacturers";
	/**
	 * 第三方维保厂商
	 */
	public static final String THIRD_FACTORY = "cfg_ass_ma_provider";
	/**
	 * 原厂商维保开始时间
	 */
	public static final String MAIN_START_TIME = "cfg_origin_ma_start";
	/**
	 * 原厂商维保结束时间
	 */
	public static final String MAIN_END_TIME = "cfg_origin_ma_end";
	/**
	 * 第三方维保开始时间
	 */
	public static final String THIRD_START_TIME = "cfg_ass_ma_start";
	/**
	 * 第三方维保结束时间
	 */
	public static final String THIRD_END_TIME = "cfg_ass_ma_end";
	/**
	 * 所在机房
	 */
	public static final String CFG_BELONG_ROOM = "cfg_belong_room";
	/**
	 * 所属机柜
	 */
	public static final String CFG_BELONG_FRAME = "cfg_belong_frame";
	/**
	 * 编号
	 */
	public static final String CFG_ASS_ID = "cfg_ass_id";
	//ip调度平台
	public static final String AC_AGENT_PLATFROM_WINDOWS= "45a";
	
	public static final String AC_AGENT_PLATFROM_LINUX= "45b";
	/**
	 * ip调度Agent状态
	 */
	public static final String AC_AGENT_STATUS_START = "44a";
	
	public static final String AC_AGENT_STATUS_OFF="44b";
	
	public static final String AC_ADDRESS_TYPE="47";
	
	public static final String AC_ADDRESS_TYPE_CDN="47a";
	public static final String AC_ADDRESS_TYPE_SPECIAL_LINE="47b";
	public static final String AC_ADDRESS_TYPE_NETWORK_CACHE="47c";
	public static final String AC_ADDRESS_TYPE_SPEEDUP_DNS="47d";
	public static final String AC_ADDRESS_TYPE_DISPATCH_IP="47e";
	public static final String AC_ADDRESS_TYPE_DISPATCH_DNS="47f";
	public static final String AC_ADDRESS_TYPE_HT_DISPATCH_IP="47g";
	
	public static final String AC_ADDRESS_STATUS="48";
	/**
	 * ip调度地址状态
	 * 48a 启动
	 * 48b 未启动
	 */
	public static final String AC_ADDRESS_STATUS_ON="48a";
	public static final String AC_ADDRESS_STATUS_OFF="48b";

	public static final String AC_COMMAND_PING_CDE="PING";
	public static final String AC_COMMAND_TCPPING_CDE="TCPPING";
	public static final String AC_COMMAND_DNS_CDE="DNS";
	public static final String AC_COMMAND_CMD_CDE="CMD";
	public static final String AC_COMMAND_TRACEROUTE_CDE="TRACEROUTE";
	public static final String AC_COMMAND_HTTP_CDE="HTTP";

	
	/**任务类型，定时任务49a*/
	public static final String AC_TASK_TYPE_TIMING = "49a";
	/**任务类型，临时任务49b*/
	public static final String AC_TASK_TYPE_TEMPORART = "49b";
	/**
	 *ip调度命令类型
	 */
	public static final String AC_COMMAND_TYPE="41";
	/** 命令类型，PING 41a*/
	public static final String AC_COMMAND_TYPE_PING = "41a";
	/** 命令类型，TCPPING 41b*/
	public static final String AC_COMMAND_TYPE_TCPPING = "41b";
	/** 命令类型，DNS 41c*/
	public static final String AC_COMMAND_TYPE_DNS = "41c";
	/** 命令类型，CMD 41d*/
	public static final String AC_COMMAND_TYPE_CMD = "41d";
	/** 命令类型，TRACEROUTE 41e*/
	public static final String AC_COMMAND_TYPE_TRACEROUTE = "41e";
	/** 命令类型，HTTP 41f*/
	public static final String AC_COMMAND_TYPE_HTTP = "41f";

	//操作0 正常 1添加2编辑3 删除
	public static final Integer AC_AGENT_OPERATE_NOTHING=0;
	public static final Integer AC_AGENT_OPERATE_ADD=1;
	public static final Integer AC_AGENT_OPERATE_EDIT=2;
	public static final Integer AC_AGENT_OPERATE_DELETE=3;
	
	


	/** zabbixAPI的url*/
	public static String ZABBIX_API_URL = "";
	/** 连接Zabbix的权限码 */
	public static String ZABBIX_API_AUTH = "";
	/** zabbix主机的代理对象展示*/
	public static final String NULL_PROXY = "无代理";
	/**
	 * zabbix主机的监控状态：0代表已监控，1代表未监控，3代表是模板主机
	 */
	public static final String HOST_MONITORED = "已监控";
	public static final String HOST_NOT_MONITORED = "未监控";
	/** zabbix的主机id*/
	public static final String ZABBIX_HOST_ID = "ZABBIX_HOST_ID";
	/** zabbix的主机ip */
	public static final String ZABBIX_HOST_IP = "ZABBIX_HOST_IP";
	/**uuid*/
	public static final String EVIDENCE_CODE_UUID = "EVIDENCE_UUID";
	/**平台信息*/
	public static final String EVIDENCE_CODE_PLATFORM = "EVIDENCE_PLATFORM";
	/**账号*/
	public static final String EVIDENCE_CODE_ACCOUNT = "EVIDENCE_ACCOUNT";
	/**密码*/
	public static final String EVIDENCE_CODE_PASSWORD = "EVIDENCE_PASSWORD";
	/**交互提示符*/
	public static final String EVIDENCE_CODE_INTERACT_PROMPT = "EVIDENCE_INTERACT_PROMPT";
	/**链接超时*/
	public static final String EVIDENCE_CODE_CONNECT_TIMEOUT = "EVIDENCE_CONNECT_TIMEOUT";
	/**执行超时*/
	public static final String EVIDENCE_CODE_EXECUTE_TIMEOUT = "EVIDENCE_EXECUTE_TIMEOUT";
	/**端口*/
	public static final String EVIDENCE_CODE_PORT = "EVIDENCE_PORT";
	/**采集IP*/
	public static final String EVIDENCE_CODE_COLLECT_IP = "EVIDENCE_COLLECT_IP";
	/**设备IP*/
	public static final String EVIDENCE_CODE_RESOURCE_IP = "EVIDENCE_RESOURCE_IP";
	/**凭证有效状态*/
	public static final String EVIDENCE_CODE_STATUS = "EVIDENCE_STATUS";
	/**是否Ping*/
	public static final String EVIDENCE_CODE_IS_PING = "EVIDENCE_IS_PING";
	/**可选操作*/
	public static final String EVIDENCE_CODE_ABLE_OPERATION = "EVIDENCE_ABLE_OPERATION";
	/**采集协议*/
	public static final String EVIDENCE_CODE_PROPOCAL = "EVIDENCE_PROPOCAL";
	/**数据库类型*/
	public static final String EVIDENCE_CODE_DATABASE_TYPE = "EVIDENCE_DATABASE_TYPE";
	/**数据库*/
	public static final String EVIDENCE_CODE_DATABASE = "EVIDENCE_DATABASE";
	/**数据库版本*/
	public static final String EVIDENCE_CODE_DATABASE_VERSION = "EVIDENCE_VERSION";
	/**品牌*/
	public static final String EVIDENCE_CODE_BRAND = "EVIDENCE_BRAND";
	/**共同体*/
	public static final String EVIDENCE_CODE_COMMON = "EVIDENCE_COMMON";

	/**zabbix模型在cmdb仓库中的modelid*/
	public static final Integer ZABBIX_MODEL_ID = 49;

    /**数据分析rmi接口传入的type*/
    public static final String COLLECTOR_TYPE_PERF = "perf";
    public static final String COLLECTOR_TYPE_CAPAC = "capac";
    public static final String COLLECTOR_TYPE_ORACLE = "oracle";
    public static final String COLLECTOR_TYPE_MYSQL = "mysql";

    /**告警*/
    //告警级别
    public static final Integer ALARM_LEVEL_CRITICAL=1;
    public static final Integer ALARM_LEVEL_ERROR=2;
    public static final Integer ALARM_LEVEL_WARNING=3;
    //告警级别
    public static final String ALARM_LEVEL_CRITICAL_STR="Critical";
    public static final String ALARM_LEVEL_ERROR_STR="Error";
    public static final String ALARM_LEVEL_WARNING_STR="Warning";
    //告警类型
    public static final Integer ALARM_TYPE_CFG=0;
    public static final Integer ALARM_TYPE_PERF=1;
    public static final Integer ALARM_TYPE_CAPAC=2;
    public static final Integer ALARM_TYPE_STATE=3;
    public static final Integer ALARM_TYPE_SERVICE=4;
    public static final Integer ALARM_TYPE_PROC=5;
    public static final Integer ALARM_TYPE_TEMP=6;
    public static final Integer ALARM_TYPE_PING=7;
    public static final Integer ALARM_TYPE_DB=8;
    //告警类型文字描述
    public static final String ALARM_TYPE_CFG_STR="配置";
    public static final String ALARM_TYPE_PERF_STR="性能";
    public static final String ALARM_TYPE_CAPAC_STR="容量";
    public static final String ALARM_TYPE_STATE_STR="状态";
    public static final String ALARM_TYPE_SERVICE_STR="服务";
    public static final String ALARM_TYPE_PROC_STR="进程";
    public static final String ALARM_TYPE_TEMP_STR="温度";
    public static final String ALARM_TYPE_PING_STR="PING";
    public static final String ALARM_TYPE_DB_STR="数据库";
    //告警状态
    public static final Integer ALARM_STATE_DEAL=1;
    public static final Integer ALARM_STATE_UNDEAL=0;
    public static final Integer ALARM_STATE_IGNORE=2;
    //告警状态对应字符串
    public static final String ALARM_STATE_DEAL_STR="已解决";
    public static final String ALARM_STATE_UNDEAL_STR="未解决";
    public static final String ALARM_STATE_IGNORE_STR="已忽略";
    //日志告警级别
    public static final String SYSLOG_LEVEL_0="emergency";
    public static final String SYSLOG_LEVEL_1="alert";
    public static final String SYSLOG_LEVEL_2="critical";
    public static final String SYSLOG_LEVEL_3="error";
    public static final String SYSLOG_LEVEL_4="warning";
    public static final String SYSLOG_LEVEL_5="notice";
    public static final String SYSLOG_LEVEL_6="informational";
    public static final String SYSLOG_LEVEL_7="debug";
    //状态指标告警类型
    public static final String STATE_ALARM_TYPE_N="N";
    public static final String STATE_ALARM_TYPE_M="M";
    public static final String STATE_ALARM_TYPE_S="S";
    public static final String STATE_ALARM_TYPE_T="T";
    //指标类型在数据库的存储类型
    public static final String ALARM_TYPE_CFG_COLUMN="config";
    public static final String ALARM_TYPE_PERF_COLUMN="perf";
    public static final String ALARM_TYPE_CAPAC_COLUMN="capac";
    public static final String ALARM_TYPE_STATE_COLUMN="state";
    public static final String ALARM_TYPE_SERVICE_COLUMN="service";
    public static final String ALARM_TYPE_PROC_COLUMN="process";
    public static final String ALARM_TYPE_TEMP_COLUMN="temp";


	public static final String RACKSPACE_ATOM_FRONT = "front";
	public static final String RACKSPACE_ATOM_INTERIOR = "interior";
	public static final String RACKSPACE_ATOM_BACK = "back";

	//华数省网 机架涉及属性
	//设备名称
	public static final String SHENGWANG_CFG_MC_BCODE = "cfg-mc";
	//资产型号
	public static final String SHENGWANG_CFG_XHZ_BCODE = "cfg-xhz";

}
